Hello developers,
does anybody knows how an object within the same module can be copied without overtaking the value of a certain attribute? Normally if you copy an object the new created object has exactly the same attribute values of course. I think implementing a dxl script which copies the object ignoring one or more attribute values is not a big deal. But I cannot force my customers to use that script, so it would be nice have another solution, maybe a trigger or something? Or by a dxl layout code?
Thanks in advance for possible solution possibities, Marco MarcoLuk - Fri Aug 31 05:46:17 EDT 2018 |
Re: Copy object without overtaking value of an attribute Well, yes, a trigger would be a solution. But do you have some specific reason for copying objects? |
Re: Copy object without overtaking value of an attribute PekkaMakinen - Fri Aug 31 06:30:47 EDT 2018 Well, yes, a trigger would be a solution. But do you have some specific reason for copying objects? Hello PekkaMakinen,
first, thanks for your answer!
Sometimes People copy an object and make eventually some small changes in the new copied object e.g. However, I am not very familiar with Triggers. Do you have a code example?
Regards, Marco |